package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

public interface NursingLevelService {

    /**
     * 查询所有护理等级
     * @return
     */
    Object getAllLeval();

    /**
     * 新增
     * @param nursingLevelDto
     */
    void addLevel(NursingLevelDto nursingLevelDto);

    /**
     * 条件分页查询
     *
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingLevelVo> getPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingLevelVo getById(Long id);

    /**
     * 修改
     * @param nursingLevelDto
     */
    void updateLevel(NursingLevelDto nursingLevelDto);

    /**
     * 删除
     * @param id
     */
    void delLevel(Long id);

    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void updateStatus(Long id, Integer status);
}
